home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 60.zip
/
BS1 part 60
/
Imagemaster d4.adf
/
apa.lzh
/
hlp_arexx4
< prev
next >
Wrap
Text File
|
1993-08-30
|
18KB
|
703 lines
\ApAssist
\: - This is the Quick Help for the ARexx in IM R/t -
\: ----------------------------------------------------------
\: Written by David E. Patterson
\: ----------------------------------------------------------
\font topaz.font 8
\tc 1
\wr
\lj
\dd "imh_descriptor"
\index "hlp_arexx2/absadd-askstring"
\toc "hlp_toc/toc"
\help "aa_help/help
\node "absadd"
\title "Absolute Add"
\next "abssub"
\prev ""
\{ \tc 15 Absadd \} - Absolute add of secondary buffer to the primary buffer.
Adds the secondary to the primary and produces the absolute sum of both. If
the primary buffer and secondary buffer are middle grays the result will be
white.
\nw
Usage - '\{ \tc 15 absadd\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 absadd\} ';
See also: \{ \nw \tc 15 \ts b \link "abssub" "abssub"
\link "add " "add"\}
* User Interface: \{ \tc 11 Compose Panel
Algebraic Compositions
Add Absolute\}
\endnode
\node "abssub"
\title "Absolute Subtract"
\next "actpri"
\prev "absadd"
\{ \tc 15 Abssub \} - Absolute subtract of secondary buffer from primary
buffer.
The Secondary Buffer is subtracted from the Primary Buffer. If an area of the
Primary image is an intermediate gray and the corresponding Secondary Buffer
area is intermediate gray the resulting image area will be black.
\nw
Usage - '\{ \tc 15 abssub\} ' (No Parameters)
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 abssub\} ';
See also: \{ \ts b \tc 15 \link "absadd" "absadd"
\link "add " "add"\}
* User Interface: \{ \tc 11 Compose Panel
Algebraic Compositions
Absolute Subtract\}
\endnode
\node "actpri"
\title "Actual Primary"
\next "add"
\prev "abssub"
\{ \tc 15 Actpri \} - Reports primary buffer number
Reports the preserved old primary buffer number during a multi-frame
sequence. In the \{ \ts i \tc 10 Multi-Frame Sequence \} panel use \{ \ts i
\tc 10 Add Scripts\} , and add the script containing 'actpri' as a pre-
renderscript.
\nw
Usage - '\{ \tc 15 actpri\} ' (No Parameters)
\{ \ts bu Sample Script\} :
options results;
\{ \tc 15 actpri\} ;
prime = results;
say "Old Primary is buffer number:" prime;
options;
\endnode
\node "add"
\title "Add"
\next "addasb"
\prev "actpri"
\{ \tc 15 Add \} - Adds the secondary buffer and primary buffer together.
The secondary buffer image is added to the primary buffer. The resulting
image is an average of the two images.
\nw
Usage - '\{ \tc 15 add\} '
\{ \ts bu Sample Script:\}
'area';
'\{ \tc 15 add\} ';
See also: \{ \ts b \tc 15 \link "absadd" "absadd"
\link "abssub" "abssub"\}
* User Interface: \{ \tc 11 Compose Panel
Algebraic Compositions
Add\}
\endnode
\node "addasb"
\title "Add As Blue"
\next "addasc"
\prev "add"
\{ \tc 15 Addasb \} - \{ \tc 11 Blue \} element of secondary buffer is added
to primary buffer.
Adds the \{ \tc 11 blue \} element of the secondary buffer image to the
primary buffer. If the red, green, and blue are added one at a time to a
black buffer the secondary buffer is recreated in the primary buffer.
\nw
Usage - '\{ \tc 15 addasb\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addasb\} ';
See also: \{ \tc 15 \ts b \link "addasc" "addasc"
\link "addasg" "addasg"
\link "addask" "addask"
\link "addasm" "addasm"
\link "addasr" "addasr"
\link "addasy" "addasy"\}
* User Interface: \{ \tc 11 Compose Panel
Color Re-Combinations
Add as Blue\}
\endnode
\node "addasc"
\title "Add As Cyan"
\next "addasg"
\prev "addasb"
\{ \tc 15 Addasc \} - The \{ \tc 12 Cyan \} element of the secondary buffer
is added to the primary buffer.
Adds the \{ \tc 12 Cyan \} element of the secondary buffer image to the
primary buffer. When cyan, magenta, yellow and black (from a CMYK Color
Separation) are added one at a time to a white buffer, the full color image
is recreated in the Primary Buffer. Note RGB are additive, while CMYK are
subtractive.
\nw
Usage - '\{ \tc 15 addasc\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addasc\} ';
See also: \{ \tc 15 \ts b \link "addasb" "addasb"
\link "addasg" "addasg"
\link "addask" "addask"
\link "addasm" "addasm"
\link "addasr" "addasr"
\link "addasy" "addasy"\}
* User Interface: \{ \tc 11 Compose Panel
Color Re-Combinations
Add as Cyan\}
\endnode
\node "addasg"
\title "Add As Green"
\next "addask"
\prev "addasc"
\{ \tc 15 Addasg \} - \{ \tc 10 Green \} element of the secondary buffer is
added to the primary buffer.
Adds the \{ \tc 10 Green \} element of the secondary buffer image to the
primary buffer. If the red, green, and blue components of the secondary
buffer were added to a black primary buffer, the secondary buffer would be
recreated in the primary buffer.
\nw
Usage - '\{ \tc 15 addasg\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addasg\} ';
See also: \{ \ts b \tc 15 \link "addasb" "addasb"
\link "addasc" "addasc"
\link "addask" "addask"
\link "addasm" "addasm"
\link "addasr" "addasr"
\link "addasy" "addasy"\}
* User Interface: \{ \tc 11 Compose Panel
Color Re-Combinations
Add as Green\}
\endnode
\node "addask"
\title "Add As Black"
\next "addasm"
\prev "addasg"
\{ \tc 15 Addask \} - Black element of the secondary buffer is added to the
primary buffer.
Adds the Black element of the secondary buffer image to the primary buffer.
If Cyan, Magenta, Yellow, and black (from a CMYK Color Separation) are added
to an all white primary buffer, the full color image is recreated in the
primary.
\nw
Usage - '\{ \tc 15 addask\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addask\} ';
See also: \{ \tc 15 \ts b \link "addasb" "addasb"
\link "addasc" "addasc"
\link "addasg" "addasg"
\link "addasm" "addasm"
\link "addasr" "addasr"
\link "addasy" "addasy"\}
* User Interface: \{ \tc 11 Compose Panel
Color Re-Combinations
Add as Black\}
\endnode
\node "addasm"
\title "Add As Magenta"
\next "addasr"
\prev "addask"
\{ \tc 15 Addasm \} - \{ \tc magenta Magenta \} element of the secondary
buffer is added to the primary buffer.
Adds the \{ \tc magenta Magenta \} element of the Secondary Buffer image to
the primary buffer. When Cyan, Magenta, Yellow and blacK (from a CMYK Color
Separation) are added one at a time to a white buffer, the full color image
is recreated in the primary buffer. Note RGB are additive, while CMYK are subtractive.
\nw
Usage - 'addasm'
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addasm\} ';
See also: \{ \tc 15 \ts b \link "addasb" "addasb"
\link "addasc" "addasc"
\link "addasg" "addasg"
\link "addask" "addask"
\link "addasr" "addasr"
\link "addasy" "addasy"\}
* User Interface: \{ \tc 11 Compose Panel
Color Re-Combinations
Add as Magenta\}
\endnode
\node "addasr"
\title "Add As Red"
\next "addasy"
\prev "addasm"
\{ \tc 15 Addasr \} - \{ \tc 9 Red \} element of the secondary buffer is
added to the primary buffer.
Adds the \{ \tc 9 Red \} element of the secondary buffer image to the primary
buffer. If the red, green, and blue components of the secondary buffer are
added to an all black primary buffer, the secondary buffer is recreated in
the primary buffer.
\nw
Usage - '\{ \tc 15 addasr\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addasr\} ';
See also: \{ \ts b \tc 15 \link "addasb" "addasb"
\link "addasc" "addasc"
\link "addasg" "addasg"
\link "addask" "addask"
\link "addasm" "addasm"
\link "addasy" "addasy"\}
* User Interface: \{ \tc 11 Compose Panel
Color Re-Combinations
Add as Red\}
\endnode
\node "addasy"
\title "Add AS Yellow"
\next "allowcancel"
\prev "addasr"
\{ \tc 15 Addasy \} - \{ \tc yellow Yellow \} element of the secondary buffer
is added to the primary buffer.
Adds the \{ \tc yellow Yellow \} element of the secondary buffer image to the
primary buffer. If the cyan, magenta, yellow and black components (from a
CMYK Color Seperation) are added to an all white primary buffer, the full
color image is recreated in the primary.
\nw
Usage - '\{ \tc 15 addasy\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 addasy\} ';
See also: \{ \ts b \tc 15 \link "addasb" "addasb"
\link "addasc" "addasc"
\link "addasg" "addasg"
\link "addask" "addask"
\link "addasm" "addasm"
\link "addasr" "addasr"\}
* User Interface: \{ \tc 11 Compose Panel
Color Re-Combinations
Add as Yellow\}
\endnode
\node "allowcancel"
\title "Allow Cancel"
\next "amigarender"
\prev "addasy"
\{ \tc 15 Allowcancel \} - Controls the use of the \{ \ts i \tc 10 Cancel \}
gadget.
This Arexx command will enable or disable the cancel gadget.
\nw
Usage - '\{ \tc 15 allowcancel yes\} '
'\{ \tc 15 allowcancel no\} '
\{ \ts bu Sample Script\} :
if(flag = 0) then;
do
'\{ \tc 15 allowcancel no\} ';
end;
See also: \{ \ts b \tc 15 \link "cancel" "hlp_arexx5/cancel"\}
\endnode
\node "amigarender"
\title "Amiga Render"
\next "anti"
\prev "allowcancel"
\{ \tc 15 Amigarender \} - Creates viewable Amiga image files.
Renders to Amiga modes, based upon the nine possible parameters.
\nw
Usage - '\{ \tc 15 amigarender [PARAM:value]\} '
\{ \ts bu Sample Script\} :
'renderpath ram:'
'renderext .iff'
'entire'
'\{ \tc 15 amigarender RES:hi MOD:reg PLANES:4 D:12 NAME:myimage\} '
'finish'
\{ \ce \{ \ts bu Parameters\} :\}
\nw
RES:xxx LO,HI,SUPER Display resolution
PLANES:n 1 through 8 Image Bit depth
DEPTH:n 12 or 24 Palette depth
MODE:xxx REG,HALFBRITE (or HB),HAM Display mode
LACE:xxx YES or NO Display interlace
WIDTH:nnnn Render output width
HEIGHT:nnnn Render output height
USEPALETTE:xxx YES or NO Use existing palette
COLORS:nn 2 to 256 # of Colors to render
NAME:ttttttt Output name
If a parameter is omitted, in each case, the last setting is used, except
COLORS which is set to the \{ \ts i normal \} value for this mode and bit
depth.
Parameter names for 'AmigaRender' may be abbreviated to one character.
ON,OFF or (1,0) values may replace YES,NO.
\endnode
\node "anti"
\title "Anti Alias"
\next "antique"
\prev "amigarender"
\{ \tc 15 Anti \} - Smooths color changes.
This Arexx command will transforms sharp color changes to smooth color
changes.
\nw
Usage - '\{ \tc 15 anti\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 anti\} ';
See also: \{ \ts b \tc 15 \link "sharp" "hlp_arexx11/sharp"\}
* User Interface: \{ \tc 11 Process Panel
Filters
Anti - Alias\}
\endnode
\node "antique"
\title "Antique"
\next "area"
\prev "anti"
\{ \tc 15 Antique \} - Tints selected area yellow.
Gives the selected region an antique (yellowish) tint.
\nw
Usage - '\{ \tc 15 antique\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 antique\} ';
See also: \{ \tc 15 \ts b \link "unantique" "hlp_arexx11/unantique"\}
* User Interface: \{ \tc 11 Process Panel
Filters
Antique\}
\endnode
\node "area"
\title "Area"
\next "areafill"
\prev "antique"
\{ \tc 15 Area \} - Calls area control panel.
Allows the user to choose a method of region selection, by presenting the
user with an Area Control panel. Processes following area selection will be
performed within the selected area until a new area is selected.
\nw
Usage - '\{ \tc 15 area\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 area\} ';
'add';
See also: \{ \ts b \tc 15 \link "entire " "hlp_arexx7/entire"
\link "oval " "hlp_arexx9/oval"
\link "rect " "hlp_arexx10/rect"
\link "rectarea" "hlp_arexx10/rect"\}
\endnode
\node "areafill"
\title "Area Fill"
\next "askboolean"
\prev "area"
\{ \tc 15 Areafill \} - Fills region with selected color.
Fills a selected region with the color specified. Makes use of blend
settings to control the mix of the fill into the primary image.
\nw
Usage - '\{ \tc 15 areafill <red> <green> <blue>\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 areafill 100 120 190\} ';
* User Interface: \{ \tc 11 Paint Panel
Area Fill\}
\endnode
\node "askboolean"
\title "Ask Boolean"
\next "asknumber"
\prev "areafill"
\{ \tc 15 Askboolean \} - Presents boolean requester to user.
Provides the user with a three button panel with one button preset. It
returns either a \{ \ts b 0 (No) \} or a \{ \ts b 1 (Yes) \} state. The user
can select one and then the other but the routine will not return the final
selection until the user presses the done gadget.
\nw
Usage - '\{ \tc 15 askboolean <yestext> <notext> <preset>\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \ts 15 askboolean Yes No 0\} ';
flag = result;
options;
See also: \{ \ts b \tc 15 \link "asknumber" "asknumber"
\link "askprop " "askprop"
\link "askrgb " "askrgb"
\link "askyn " "askyn"
\link "askstring" "askstring"\}
\endnode
\node "asknumber"
\title "Ask Number"
\next "askprop"
\prev "askboolean"
\{ \tc 15 Asknumber \} - Allows user to change a value in a text gadget.
This enables the user to edit or change a preset value in a text gadget.
\nw
Usage - '\{ \tc 15 asknumber <prompt> <numeric_preset>\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \ts 15 asknumber Value: 127\} ';
value = result;
options;
See also: \{ \ts b \tc 15 \link "askprop " "askprop"
\link "askstring " "askstring"
\link "askboolean" "askboolean"
\link "askyn " "askyn"
\link "askrgb " "askrgb"\}
\endnode
\node "askprop"
\title "Ask Prop"
\next "askrgb"
\prev "asknumber"
\{ \tc 15 Askprop \} - Slider Prop for the selection of a numeric value.
Presents the user with a \{ \ts i slider \} for the selection of a numeric
value. The prop gadget is set to a preset value and the changed result is
returned.
\nw
Usage - '\{ \tc 15 askprop <prompt> <numeric preset> <min> <max>\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 askprop "Red:" 50 0 255\} ';
intensity = result;
options;
See also: \{ \ts b \tc 15 \link "askboolean" "askboolean"
\link "asknumber " "asknumber"
\link "askrgb " "askrgb"
\link "askstring " "askstring"
\link "askyn " "askyn"\}
\endnode
\node "askrgb"
\title "Ask Red Green Blue"
\next "askstring"
\prev "askprop"
\{ \tc 15 Askrgb \} - Ask red green blue.
Presents a prop that allows the user to set RGB values to be used in the
execution of a script or macro.
\nw
Usage - '\{ \tc 15 askrgb\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 askrgb\} ';
colors = result;
parse var colors red','grn','blu;
options;
See also: \{ \tc 15 \ts b \link "askboolean" "askboolean"
\link "asknumber " "asknumber"
\link "askprop " "askprop"
\link "askstring " "askstring"
\link "askyn " "askyn"\}
\endnode
\node "askstring"
\title "Ask String"
\next "askyn"
\prev "askrgb"
\{ \tc 15 Askstring \} - Asks the user for a text string.
\nw
Usage - '\{ \tc 15 askstring <prompt> <preset>\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \ts 15 askstring "Buffername:" "clip"\} 'newname;
newname = result;
options;
See also: \{ \ts b \tc 15 \link "askboolean" "askboolean"
\link "asknumber " "asknumber"
\link "askprop " "askprop"
\link "askrgb " "askrgb"
\link "askyn " "askyn"\}
\endnode
\node "askyn"
\title "Ask Yes No"
\next "aspect"
\prev "askstring"
\{ \tc 15 Askyn \} - Prompts user to select one of two gadgets.
A two button panel returning a 0 for the left most gadget and a 1 for the
right most gadget.
\nw
Usage - '\{ \tc 15 askyn <notext> <yestext>\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 askyn Yes No\} ';
flag = result;
options;
See also: \{ \ts b \tc 15 \link "askboolean" "askboolean"
\link "asknumber " "asknumber"
\link "askprop " "askprop"
\link "askrgb " "askrgb"
\link "askstring " "askstring"\}
\endnode
\node "aspect"
\title "Aspect"
\next ""
\prev "askyn"
\{ \tc 15 Aspect \} - Allows the change of aspect ratio on any buffer.
\nw
Usage - '\{ \tc 15 aspect <Buffer> <X> <Y>\} '
\{ \ts bu Sample Script\} :
options results;
'asknumber Xwide: 127';
Xwide = result;
'asknumber Ywide: 127';
Ywide = result;
options;
'\{ \tc 15 aspect 0\} 'xwide ywide;
* User Interface: \{ \tc 11 Buffer Panel
Set Current Aspect Ratio\}
\endnode